AsanaPlugins\WooCommerce\ProductBundles\ProductBundle D

Total Complexity 189
Dependencies 3
Dependents 1
Total lines 790
Lines of code 450
Logical lines of code 219
Comment lines 199
Methods 53
Properties 2

Methods 53

Method Rating Maintainability Complexity Lines of code
get_item_default_data()
C
41 27 45
is_items_in_stock()
B
45 23 36
calculate_default_products_price()
B
37 20 72
get_item_products()
A
46 10 38
get_initial_data()
A
48 7 31
add_to_cart_url()
S
59 8 12
get_sale_price()
S
59 7 13
get_price()
S
59 7 13
get_regular_price()
S
59 7 13
sync_items_is_in_stock()
S
60 6 12
sync_prices()
S
61 5 12
get_default_products_price_for()
S
64 5 10
add_to_cart_text()
S
72 4 4
sync()
S
64 4 9
has_price()
S
69 4 6
is_purchasable()
S
76 3 3
set_items_is_in_stock()
S
78 2 3
set_default_products_price()
S
78 2 3
is_fixed_price()
S
71 2 6
__construct()
S
71 2 6
is_in_stock()
S
69 2 6
get_default_products_price()
S
79 1 3
set_bundle_title()
S
80 1 3
get_items()
S
79 1 3
get_default_products()
S
79 1 3
get_individual_theme()
S
79 1 3
supports_ajax_add_to_cart()
S
76 1 4
get_theme()
S
79 1 3
get_theme_size()
S
79 1 3
get_fixed_price()
S
79 1 3
get_include_parent_price()
S
79 1 3
get_shipping_fee_calculation()
S
79 1 3
set_is_cart_item()
S
80 1 3
get_custom_display_price()
S
79 1 3
get_min_items_quantity()
S
79 1 3
set_hide_items_price()
S
80 1 3
set_max_items_quantity()
S
80 1 3
get_items_is_in_stock()
S
79 1 3
set_min_items_quantity()
S
80 1 3
set_custom_display_price()
S
80 1 3
set_shipping_fee_calculation()
S
80 1 3
set_include_parent_price()
S
80 1 3
set_fixed_price()
S
80 1 3
set_theme_size()
S
80 1 3
set_theme()
S
80 1 3
set_individual_theme()
S
80 1 3
set_default_products()
S
80 1 3
get_type()
S
82 1 3
get_is_cart_item()
S
82 1 3
get_max_items_quantity()
S
79 1 3
get_bundle_title()
S
79 1 3
get_hide_items_price()
S
79 1 3
set_items()
S
80 1 3